package abf;

/**
 * 生产小米产品的工厂
 */
public class XiaoMiFactory implements AbstractFactory {
    public IPhoneProduct iphoneProduct() {
        return new XiaoMiPhone();
    }

    public IRouterProduct irouterProduct() {
        return new XiaoMiRouter();
    }
}
